home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 6 / Amiga Format AFCD06 (Nov 1996, Issue 90).iso / serious / shareware / workbench / recycler / example.script < prev    next >
Text File  |  1996-08-20  |  1KB  |  37 lines

  1. ;Recycler script for doing nightly backups.
  2. ;
  3. ;Written by S. Parkinson Jun 15/95  V1.09
  4. ;Released to the Public Domain Aug 15/96. All rights reserved.
  5. ;
  6. ;
  7.  
  8. CHANGETASKPRI -1        ;Script starts. Dropping pri saves CPU time. 
  9. FAILAT 30               ;Keeps script from failing from minor errors. 
  10. LAB Backup              ;Label is defined for loop. 
  11. WAIT UNTIL 23:30        ;Defines when to do its thing.       
  12. CHANGETASKPRI 0         ;Change taskpri to higher setting.       
  13.  
  14. ;Copy all ZIP files from IBM Drive PC0 to BBS, then delete them from PC0.
  15.  
  16. copy PC0:*.ZIP DH0:Telefun/EMail all
  17. delete PC0:*.ZIP
  18.  
  19. ;Backup all received email messages for today.
  20.  
  21. copy dh0:AmiTCP-4.2/Simon LTS:Simon_BKP all 
  22.  
  23. ;Backup all Legends files.
  24.  
  25. copy dh0:LegendsDB to LTS:LDB_BKP all 
  26.  
  27. ;Now do all LZX file backups for various files and BBS.
  28.  
  29. lzx -Qf -x -r -bi256 -bo256 -3 u Project_X:ProjectX.lzx DH1:Project_X/#?
  30. lzx -Qf -x -r -bi256 -bo256 -3 u LTS:TCS/TCS_Backup.lzx DH0:Legends/TCS/#?
  31. lzx -Qf -x -r -bi256 -bo256 -3 u LTS:BBS/TL.lzx DH0:Telefun/#?
  32.  
  33. CHANGETASKPRI -1        ;Drop taskpri back down for inactive mode.   
  34. WAIT UNTIL 23:59        ;Wait for prescribed time to avoid time conflict.
  35. SKIP Backup BACK        ;Return to "LAB Backup" line.
  36.  
  37.